<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="<?php echo base_url(); ?>" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php echo $template['title'] ?></title>
	<? include "_script.php";?>
	<?php echo $template['metadata'] ?>
</head>
<body>
	<div class="container">
	    <? include "_header.php";?>
	    <? include "_sub_header.php"?>
		<div class="row" style="margin-top:20px;">
			<div class="span3">
				<? include "_left.php"?>
			</div>
			<div class="span9">
				<section>
				    <?php echo $template['body'] ?>
				</section>
			</div>
		</div>
    </div>
    <div class="container" style="margin-top:20px;">
        <div class="row">
            <div class="span12">
                <? include("_footer.php") ?>
            </div>
        </div>
    </div>
</body>
</html>